.YiHangAlertMask {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1040;
	background-color: #000;
	transition: opacity .15s linear;

	opacity: 0
}

.YiHangAlertMask.show {
	opacity: .5
}

.YiHangAlert {
	/* 弹窗的基本样式 */
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: #fff;
	padding: 20px;
	border-radius: 5px;
	/* box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); */
	box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
	z-index: 1050;
	min-width: 300px;
	max-width: 90vw;
	padding-bottom: 15px;

	/* 动画初始状态 */
	opacity: 0;
	transform: translate(-50%, -50%) scale(0.8);
	transition: opacity 0.15s ease-in-out, transform 0.15s ease-in-out;
}

.YiHangAlert.show {
	/* 动画最终状态 */
	opacity: 1;
	transform: translate(-50%, -50%) scale(1);
}

.YiHangAlert.hide {
	/* 关闭动画 */
	opacity: 0;
	transform: translate(-50%, -50%) scale(0.8);
}

.YiHangAlertTitle {
	font-size: 18px;
	font-weight: bold;
	margin-bottom: 10px;
}

.YiHangAlertContent {
	margin-bottom: 15px;
}

.YiHangAlertButtons {
	display: flex;
	justify-content: flex-end;
}

.YiHangAlertButton {
	margin-left: 10px;
	padding: 6px 12px;
	border: none;
	border-radius: 3px;
	background-color: #4CAF50;
	/* 确定按钮背景色 */
	color: #fff;
	cursor: pointer;
	transition: color .2s, background .3s, opacity .3s, box-shadow .3s, transform .3s;
}

.YiHangAlertButton:hover {
	opacity: 0.8;
}

@media (max-width: 768px) {
	html .YiHangAlert {
		box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
		padding: 15px;

	}
}

@media (max-width: 380px) {
	html .YiHangAlert {
		min-width: 80vw;
	}
}